{% for host in groups.all %}
{% if 'localhost' not in host %}
{{ hostvars[host].ansible_ssh_host }} {{ host }}
{% endif %}
{% endfor %}
